<template>
  <div class="shop-info">
    <img class="shop-logo" :src="shopInfo.shopLogo" />
    <div class="shop-desc">
      <span class="shop-name">{{ shopInfo.name }}</span>
      <div class="shop-num">
        <div>收藏 {{ shopInfo.cFans }}</div>
        <div>商品 {{ shopInfo.cGoods }}</div>
        <div>出售 {{ shopInfo.cSells }}</div>
      </div>
    </div>
    <span class="more">
      进店
      <i class="iconfont icon-xiayiye"></i>
    </span>
  </div>
</template>

<script>
export default {
  props: {
    shopInfo: Object
  }
}
</script>

<style lang="less" scoped>
.shop-info {
  display: flex;
  align-items: center;
  background: white;
  padding: 10px 15px;
  border-radius: 10px;
  .shop-logo {
    width: 70px;
    height: 70px;
  }
  .shop-desc {
    flex: 1;
    margin-left: 15px;
    align-self: flex-start;
    .shop-name {
      font-size: 12px;
      font-weight: 700;
      line-height: 30px;
    }
    .shop-num {
      font-size: 10px;
      line-height: 20px;
    }
  }
  .more {
    width: 50px;
    font-size: 12px;
    text-align: right;
  }
}
</style>
